import { lazy } from "react"
import WebIcon from "@/components/WebIcon"
import i18n from '@/lang'

const Car = lazy(() => import("@/pages/Car"))

const HomeRoute = [
  {
    path: "car",
    meta: {
      title: i18n.t('router.car'),
      icon: <WebIcon name='car'/>
    },
    children: [
      {
        name: 'index',
        path: "index",
        element: <Car />,
        meta: {
          title: i18n.t('router.carIndex')
        }
      }
    ]
  }
]
export default HomeRoute